<?php

class ImageController extends BaseController {
	
		function cropa() {
			return Image::crop(Input::get('url'), Input::get('x'), Input::get('y'), Input::get('width'), Input::get('height'),90);
		}

		function upload() {
			
			return Image::upload(Input::file('file'), 'avatar/', true);
		}
}